package com.ebupt.jetpackframework

import android.view.View
import com.alibaba.android.arouter.launcher.ARouter
import com.ebupt.common.base.BaseViewModel
import com.ebupt.service.Navigation

class MainViewModel:BaseViewModel() {


    fun startRoom(view:View){
        ARouter.getInstance().build(Navigation.DB_URL).navigation()
    }


    fun startLogin(view: View){
        ARouter.getInstance().build(Navigation.LOGIN_URL).navigation()
    }


}